<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="utf-8"%>
<%@ page import="com.e3.web.login.server.LoginHelper" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String moduleCode = request.getParameter("moduleCode");
	String moduleName = request.getParameter("moduleName");	
	String tempModulePath = request.getParameter("modulePath");
	
	String modulePath = tempModulePath;
	String entryParas = "";
	if(tempModulePath!=null&&tempModulePath.indexOf("?")>0){
		int index = tempModulePath.indexOf("?");
		modulePath = tempModulePath.substring(0,index);
		entryParas = tempModulePath.substring(index+1);
	}	
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="gwt:property" content="locale=zh">
<title><%=moduleName%></title>
<link rel="stylesheet" type="text/css" href="ExtGWT/css/gxt-all.css" />
</head>
<body>
	<script type="text/javascript">
		document.oncontextmenu   =   function(){return   false}; 
	</script>
<input id="entryParas" type="hidden" value="<%=entryParas%>"/>
<input id="moduleCode>" type="hidden" value="<%=moduleCode%>"/>
<input id="moduleName" type="hidden" value="<%=moduleName%>"/>
<input id="modulePath" type="hidden" value="<%=modulePath%>"/>
<%
	
	if(entryParas.length()>0){
		String[] paras = entryParas.split("&");
		for(int i=0;i<paras.length;i++){
			String para = paras[i];
			String[] keyValues = para.split("=");
			if(keyValues!=null&&keyValues.length==2){
				%>
				<input id="<%=keyValues[0]%>" type="hidden" value="<%=keyValues[1]%>"/>
				<%
			}			
		}
	}
%>
	<script language="javascript" src="<%=modulePath%>/<%=modulePath%>.nocache.js"></script>
</body>
</html>